package com.github.pig.admin.server;

/**
 * 服务接口定义。
 * <p>Author: smy
 * <p>Date: 2016/4/3
 * <p>Version: 1.0
 */
public interface ServerInterface {

    String getName();

    boolean turnOn();

    void turnOff();

    boolean isShutdown();

    boolean isTerminated();

}